-
Notifications
You must be signed in to change notification settings - Fork 49
[nfc] Avoid pointer conversions #691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[nfc] Avoid pointer conversions #691
Conversation
- avoids reliance on a pointer conversion
@swift-ci please test |
LGTM - how did you discover these issues? New compiler, or certain flags? |
This was using a compiler branch that implements (most of) my restricted pointer conversions pitch. |
- this function is imported in a way that causes the compiler to not detect it as a C function
45fdb08
to
74637cc
Compare
@swift-ci please test linux platform |
comment spelling fix
@swift-ci Please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
This should be cherry-picked to the branch used for development snapshot toolchains. |
Preparing for a compiler that's less permissive about pointer conversions.